@import "./var.scss";
@import "./uni.scss";
@import "./mixins.scss";
uni-button,
button {
	background-color: transparent;
}

.priceLable {
	margin-right: 8rpx;
	width: 72rpx;
	height: 26rpx;
	text-align: center;
	background:url('https://ss.migudm.cn/malleoc/goods/tag_internalpurchaseprice@2x.png') no-repeat center center;
	background-size:72rpx auto;
	border-radius:26rpx;
	display: inline-block;
	vertical-align: middle;
}
.priceLable2 {
	margin-right: 8rpx;
	width: 72rpx;
	height: 26rpx;
	text-align: center;
	background-size:72rpx auto;
	border-radius:26rpx;
	display: inline-block;
	vertical-align: middle;
}

.priceLable3 {
	margin-right: 8rpx;
	width: 60rpx;
	height: 26rpx;
	text-align: center;
	background-size:auto 26rpx;
	border-radius:26rpx;
	display: inline-block;
	vertical-align: middle;
}
.integralSign{
	 // margin-left: 8rpx;
	 font-size: 20rpx;
	 color: #197CBC;
	 background:rgba(2,130,206,0.06);
	 padding:0 8rpx;
	 height: 28rpx;
	 line-height: 28rpx;
	 border-radius:28rpx ;
	 font-weight: normal;
}

.pro-icon-box {
	float: left;
	margin-top: 6rpx;
	line-height: 32rpx;
}


.miguIcon{
	background:url('https://ss.migudm.cn/malleoc/public/ic_migujingxuan_list@2x.png') no-repeat center center;
	background-size: auto 100%; 
	display: inline-block;
	height: 26rpx;
	width: 108rpx;
	margin-right: 4rpx;
	vertical-align: middle;
	margin-bottom:4rpx;
}
.selfPickupIcon{
	background:url('https://resource.migudm.cn/group1/M00/D4/B8/oYYBAGVdymuAU6yHAAAFZdqDY4M857.png') no-repeat center center;
	background-size: auto 100%;
	display: inline-block;
	height: 26rpx;
	width: 48rpx;
	margin-right: 4rpx;
	vertical-align: middle;
	margin-bottom:4rpx;
}

.presall-icon{
	background:url('https://ss.migudm.cn/malleoc/public/ic_presale.png') no-repeat center center;
	background-size: contain; 
	display: inline-block;
	height: 26rpx;
	width: 52rpx;
	margin-right: 4rpx;
	vertical-align: middle;
	margin-bottom:4rpx;
	&.presall-icon-detail {
		height: 32rpx;
		width: 66rpx;
		background: url('https://ss.migudm.cn/malleoc/public/ic_presale_detail.png') no-repeat center center;
		background-size: contain; 
	}
}
.activityIcon{}

.fc-ff{
	color: #FF004F;
}
.fc-33{
	color: #333;
}
.fc-66{
	color: #666666;
}
.fc-99{
	color: #999;
}
.fc-00{
	color: #000;
}
.fc-ff-05{
	color: rgba(255, 255, 255, 0.5)
}
.fc-e0{
	color: #E0CBAB;
}
.f-l-1{
	line-height: 1;
}
.f28{
	font-size: 28rpx;
}
.f18{
	font-size: 20rpx;
}
.f20{
	font-size: 20rpx;
}
.f22{
	font-size: 22rpx;
}
.f26{
	font-size: 26rpx;
}
.f24{
	font-size: 24rpx;
}
.f28{
	font-size: 28rpx;
}
.f32{
	font-size: 32rpx;
}
.f30{
	font-size: 30rpx;
}
.f36{
	font-size: 36rpx;
}
.f40{
	font-size: 40rpx;
}
.f48{
	font-size: 48rpx;
}
.tran-down{
  transform: rotate(180deg);
}
.f-bold{
	font-weight: 600;
}
.flex-x-c{
	display: flex;
	align-items: center;
}
.flex-c{
	display: flex;
	align-items: center;
	justify-content: center;
}
// y轴居中
.flex-y-c{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.line-1{
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
}
.line-2{
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}
.line-3{
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}

.bottom-red-btn{
	background: #fff;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 14rpx 20rpx;
	padding-bottom: calc(14rpx + constant(safe-area-inset-bottom));
	padding-bottom: calc(14rpx + env(safe-area-inset-bottom));
	.bottom-btn{
		width: 710rpx;
		height: 80rpx;
		text-align: center;
		line-height: 80rpx;
		color: #fff;
		background: #FF004F;
		border-radius: 40rpx;
	}
}

.plus{
	height: 24rpx;
	background-image: url('https://resource.migudm.cn/group1/M00/D0/E5/ooYBAGPvPrqAZilDAAAIBW4VKC8883.png');
	width: 68rpx;
	background-size: 100%;
	background-repeat: no-repeat;
}

.ac-sale-out{
	position: relative;
	&::after{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.3) url('https://ss.migudm.cn/malleoc/activity/img_sellout.png') no-repeat center center;
		background-size: 102rpx auto;
	}
}

.sale-out{
	position: relative;
}

.sale-out::after{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40rpx;
	background-color: rgba(51, 51, 51, 0.7);
	text-align: center;
	line-height: 40rpx;
	content: '所选地区无货';
	color: #fff;
	font-size: 24rpx;
}

.sale-out-20{
	position: relative;
}

.sale-out-20::after{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40rpx;
	background-color: rgba(51, 51, 51, 0.7);
	text-align: center;
	line-height: 40rpx;
	content: '所选地区无货';
	color: #fff;
	font-size: 20rpx;
}

// 灰色的订单按钮
.grey-btn{
	display: inline-block;
	line-height: 58rpx;
	color: #999;
	padding: 0 24rpx;
	height: 60rpx;
	border-radius: 30rpx;
	border: 1rpx solid #CCCCCC;
}

@keyframes loadAnimation {
	0% { background-position: 0px 0px; }
	5.26% { background-position: -60rpx 0px; }
	10.53% { background-position: -120rpx 0px; }
	15.79% { background-position: -180rpx 0px; }
	21.05% { background-position: -240rpx 0px; }
	26.32% { background-position: -300rpx 0px; }
	31.58% { background-position: -360rpx 0px; }
	36.84% { background-position: -420rpx 0px; }
	42.11% { background-position: -480rpx 0px; }
	47.37% { background-position: -540rpx 0px; }
	52.63% { background-position: -600rpx 0px; }
	57.89% { background-position: -660rpx 0px; }
	63.16% { background-position: -720rpx 0px; }
	68.42% { background-position: -780rpx 0px; }
	73.68% { background-position: -840rpx 0px; }
	78.95% { background-position: -900rpx 0px; }
	84.21% { background-position: -960rpx 0px; }
	89.47% { background-position: -1020rpx 0px; }
	94.74% { background-position: -1080rpx 0px; }
	100.00% { background-position: -1140rpx 0px; }
}

.mount-grey{
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
	filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}

.grey-confirm-btn{
	width: 710rpx;
	height: 80rpx;
	text-align: center;
	line-height: 80rpx;
	font-size: 32rpx;
	color: rgba(255, 255, 255, 0.5);
	background: #CCCCCC;
	border-radius: 40rpx;
}
.red-confirm-btn {
	background: #FF004F;
	color: #fff;
}

// 弹窗动画样式
.aniFadeIn {
	  animation: aIn 1s;
}
.aniFadeOut{
	animation: aOut 0.6s ease-in-out forwards;
}
@keyframes aOut {
	0% {
		// transform: translateY(0);
		opacity: 1;
	}
	100% {
		opacity: 0;
		// transform: translateY(1%);
	}
}
@keyframes aIn {
	0% {
		// transform: translateY(1%);
		opacity: 0;
	}
	100% {
		opacity: 1;
		// transform: translateY(0);
	}
}

.u-form {
	.u-textarea{
		min-height: 150rpx !important;
	}
	.vertical-textarea{
		.u-textarea{
			padding: 10rpx!important;
			width: 670rpx;
			box-sizing: border-box;
			min-height: 150rpx !important;
		}
		.u-form-item .u-form-item__body{
			.u-form-item__body__right__message{
				margin-left: 0rpx !important;
			}
		}
	}
}


.u-swiper__wrapper__item__wrapper__title{
	line-height: 50rpx;
}
.vertical-item .u-form-item__body{
	padding-top: 0rpx!important;
	flex-direction: column !important; 
	.u-form-item__body__left{
		width: 200px !important;
	}
	.u-form-item__body__right{
		margin-top: 10px;
	}
	.u-form-item__body__right__message{
		margin-left: 0rpx !important;
	}
}